
import java.io.PrintWriter;

abstract class Parameter extends Node {

	protected Node type_;
	protected String name_;

	public Parameter(Node t, String n) {
		type_ = t;
		name_ = n;
	}

	@Override
	public void print(PrintWriter pw) {
		printWayOfPassing(pw);
		pw.println("Parameter name :" + name_);
		// assert(type_);
		type_.print(pw);
	}

	public abstract void printWayOfPassing(PrintWriter pw);
}
